package com.itheima.info.manager.system.domain;
/*
封装老师数据的类
工号
姓名
年龄
生日
 */
public class Teacher extends Person {


    private double salary;

    public Teacher() {
    }

    public Teacher(String sid, String name, int age, double salary) {
        super(sid, name, age);
        this.salary = salary;
    }

    public double getSalary() {
        return salary;
    }

    public void setSalary(double salary) {
        this.salary = salary;
    }


}
